package com.byapp.fast.modules.order.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@TableName("t_order_item")
@Data
@Accessors(chain = true)
public class OrderItemEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.INPUT)
    private String itemId;

    private String orderId;

    private String userId;

    private String itemContent;

    private Integer buyType;

    private Integer playType;

    private String playId;

    private String lotId;

    private Double itemMoney;

    private String currentContent;

    private Integer itemStatus = 0;

    private Double prizeMoney;

    private Double prizetaxMoney;

    private Double returnMoney;

    private String payType;

    private String balanceMatchId;

    private String passType = "1001";

    private Integer isInplay = 1;

    private String srcCode;

    private String balanceExpect;

    private Double balanceMoney;

    private Long balanceStatus;

    private Date balanceTime;

    private Double arrivalMoney;

    private String sportType;

    private Double effectiveMoney;

    private Double extraMoney;

    private Double prePrize;

    private Long repeatTimes;

    private String txhash;

    private String betId;

    private String roomId;

    @TableField(exist = false)
    private String codes;

    @TableField(exist = false)
    private String odds;

    @TableField(exist = false)
    private String handicap;

    @TableField(exist = false)
    private Long oddsId;

    @TableField(exist = false)
    private String codeTeamName;

    @TableField(exist = false)
    private String homeTeamName;

    @TableField(exist = false)
    private String awayTeamName;

    @TableField(exist = false)
    private Date matchTime;

    @TableField(exist = false)
    private String leagueName;
}